package scau.zhong.mapper;

import org.apache.ibatis.annotations.Insert;
import scau.zhong.pojo.Role;
import tk.mybatis.mapper.common.Mapper;

public interface RoleMapper extends Mapper<Role> {
    /**
     * 新增角色-权限信息
     * @param rid
     * @param pid
     */
    @Insert("insert into role_permission (roleId,permissionId) values(#{rid},#{pid})")
    Integer inserrRole_Permission(String rid,String pid);
}
